.avatar {
  display: inline-block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  text-transform: uppercase;
  background-size: cover;
  background-repeat: no-repeat;
}

.avatar_rounded {
  border-radius: 50%;
}

.avatar.dl-size--small {
  width: 16px;
  height: 16px;
  line-height: 16px;
  font-size: 7px;
}

.avatar.dl-size--medium {
  width: 24px;
  height: 24px;
  line-height: 24px;
}

.avatar.dl-size--large {
  width: 32px;
  height: 32px;
  line-height: 32px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.breadcrumbs_item {
  vertical-align: middle;
  transition: opacity 100ms ease-in;
}

.breadcrumbs_item:hover {
  opacity: 1;
}

.breadcrumbs_item .icon {
  cursor: default;
}

.breadcrumbs_item .icon use,
.breadcrumbs_item .icon g {
  fill: var(--main-color-5);
}

.breadcrumbs_item a:not([disabled]) {
  color: var(--main-color-8);
}

.breadcrumbs_item a:not([disabled]):hover {
  color: var(--main-color-8);
  border-bottom-color: var(--main-color-8);
}

.breadcrumbs_item:not(:hover):not(:last-child) {
  opacity: .5;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 32px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  box-sizing: border-box;
  padding: 2px 8px;
  cursor: pointer;
  outline: none;
  margin: 0 4px;
  color: var(--action-color-3);
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  transition: background-color 0.13s ease-in, border-color 0.13s ease-in;
  /* button types */
  /* ------------- */
  /* button-sizes */
}

.button:first-child {
  margin-left: 0;
}

.button:last-child {
  margin-right: 0;
}

.button .icon {
  margin: 0 4px 0 0;
}

.button.type--secondary[disabled],
.button.type--danger[disabled],
.button.type--label[disabled],
.button.type--open[disabled],
.button.type--badge[disabled],
.button.type--secondary:disabled,
.button.type--danger:disabled,
.button.type--label:disabled,
.button.type--open:disabled,
.button.type--badge:disabled,
.button.type--secondary[disabled]:hover,
.button.type--danger[disabled]:hover,
.button.type--label[disabled]:hover,
.button.type--open[disabled]:hover,
.button.type--badge[disabled]:hover,
.button.type--secondary:disabled:hover,
.button.type--danger:disabled:hover,
.button.type--label:disabled:hover,
.button.type--open:disabled:hover,
.button.type--badge:disabled:hover,
.button.type--secondary[disabled]:active,
.button.type--danger[disabled]:active,
.button.type--label[disabled]:active,
.button.type--open[disabled]:active,
.button.type--badge[disabled]:active,
.button.type--secondary:disabled:active,
.button.type--danger:disabled:active,
.button.type--label:disabled:active,
.button.type--open:disabled:active,
.button.type--badge:disabled:active,
.button.type--secondary[disabled]:focus,
.button.type--danger[disabled]:focus,
.button.type--label[disabled]:focus,
.button.type--open[disabled]:focus,
.button.type--badge[disabled]:focus,
.button.type--secondary:disabled:focus,
.button.type--danger:disabled:focus,
.button.type--label:disabled:focus,
.button.type--open:disabled:focus,
.button.type--badge:disabled:focus {
  border-color: var(--main-color-2);
  cursor: not-allowed;
  color: var(--main-color-3);
  background: transparent;
}

.button.type--secondary[disabled] .icon use,
.button.type--danger[disabled] .icon use,
.button.type--label[disabled] .icon use,
.button.type--open[disabled] .icon use,
.button.type--badge[disabled] .icon use,
.button.type--secondary:disabled .icon use,
.button.type--danger:disabled .icon use,
.button.type--label:disabled .icon use,
.button.type--open:disabled .icon use,
.button.type--badge:disabled .icon use,
.button.type--secondary[disabled]:hover .icon use,
.button.type--danger[disabled]:hover .icon use,
.button.type--label[disabled]:hover .icon use,
.button.type--open[disabled]:hover .icon use,
.button.type--badge[disabled]:hover .icon use,
.button.type--secondary:disabled:hover .icon use,
.button.type--danger:disabled:hover .icon use,
.button.type--label:disabled:hover .icon use,
.button.type--open:disabled:hover .icon use,
.button.type--badge:disabled:hover .icon use,
.button.type--secondary[disabled]:active .icon use,
.button.type--danger[disabled]:active .icon use,
.button.type--label[disabled]:active .icon use,
.button.type--open[disabled]:active .icon use,
.button.type--badge[disabled]:active .icon use,
.button.type--secondary:disabled:active .icon use,
.button.type--danger:disabled:active .icon use,
.button.type--label:disabled:active .icon use,
.button.type--open:disabled:active .icon use,
.button.type--badge:disabled:active .icon use,
.button.type--secondary[disabled]:focus .icon use,
.button.type--danger[disabled]:focus .icon use,
.button.type--label[disabled]:focus .icon use,
.button.type--open[disabled]:focus .icon use,
.button.type--badge[disabled]:focus .icon use,
.button.type--secondary:disabled:focus .icon use,
.button.type--danger:disabled:focus .icon use,
.button.type--label:disabled:focus .icon use,
.button.type--open:disabled:focus .icon use,
.button.type--badge:disabled:focus .icon use,
.button.type--secondary[disabled] .icon g,
.button.type--danger[disabled] .icon g,
.button.type--label[disabled] .icon g,
.button.type--open[disabled] .icon g,
.button.type--badge[disabled] .icon g,
.button.type--secondary:disabled .icon g,
.button.type--danger:disabled .icon g,
.button.type--label:disabled .icon g,
.button.type--open:disabled .icon g,
.button.type--badge:disabled .icon g,
.button.type--secondary[disabled]:hover .icon g,
.button.type--danger[disabled]:hover .icon g,
.button.type--label[disabled]:hover .icon g,
.button.type--open[disabled]:hover .icon g,
.button.type--badge[disabled]:hover .icon g,
.button.type--secondary:disabled:hover .icon g,
.button.type--danger:disabled:hover .icon g,
.button.type--label:disabled:hover .icon g,
.button.type--open:disabled:hover .icon g,
.button.type--badge:disabled:hover .icon g,
.button.type--secondary[disabled]:active .icon g,
.button.type--danger[disabled]:active .icon g,
.button.type--label[disabled]:active .icon g,
.button.type--open[disabled]:active .icon g,
.button.type--badge[disabled]:active .icon g,
.button.type--secondary:disabled:active .icon g,
.button.type--danger:disabled:active .icon g,
.button.type--label:disabled:active .icon g,
.button.type--open:disabled:active .icon g,
.button.type--badge:disabled:active .icon g,
.button.type--secondary[disabled]:focus .icon g,
.button.type--danger[disabled]:focus .icon g,
.button.type--label[disabled]:focus .icon g,
.button.type--open[disabled]:focus .icon g,
.button.type--badge[disabled]:focus .icon g,
.button.type--secondary:disabled:focus .icon g,
.button.type--danger:disabled:focus .icon g,
.button.type--label:disabled:focus .icon g,
.button.type--open:disabled:focus .icon g,
.button.type--badge:disabled:focus .icon g {
  fill: var(--main-color-3);
}

.button.type--primary {
  color: var(--contrast-fg);
  background-color: var(--action-color-2);
}

.button.type--primary .icon use {
  fill: var(--contrast-fg);
}

.button.type--primary:hover {
  background-color: var(--action-color-3);
}

.button.type--primary:focus {
  background-color: var(--action-color-2);
}

.button.type--primary:active {
  box-shadow: inset 0 1px 0 1px rgba(0, 0, 0, 0.25);
  background-color: var(--action-color-3);
}

.button.type--primary[disabled],
.button.type--primary:disabled,
.button.type--primary[disabled]:hover,
.button.type--primary:disabled:hover,
.button.type--primary[disabled]:active,
.button.type--primary:disabled:active,
.button.type--primary[disabled]:focus,
.button.type--primary:disabled:focus {
  border-color: var(--main-color-2);
  cursor: not-allowed;
  color: var(--main-color-0);
  background: var(--main-color-2);
}

.button.type--primary[disabled] .icon use,
.button.type--primary:disabled .icon use,
.button.type--primary[disabled]:hover .icon use,
.button.type--primary:disabled:hover .icon use,
.button.type--primary[disabled]:active .icon use,
.button.type--primary:disabled:active .icon use,
.button.type--primary[disabled]:focus .icon use,
.button.type--primary:disabled:focus .icon use,
.button.type--primary[disabled] .icon g,
.button.type--primary:disabled .icon g,
.button.type--primary[disabled]:hover .icon g,
.button.type--primary:disabled:hover .icon g,
.button.type--primary[disabled]:active .icon g,
.button.type--primary:disabled:active .icon g,
.button.type--primary[disabled]:focus .icon g,
.button.type--primary:disabled:focus .icon g {
  fill: var(--main-color-0);
}

.button.type--secondary {
  color: var(--main-color-8);
  border-color: var(--main-color-3);
}

.button.type--secondary .icon use,
.button.type--secondary .icon g {
  fill: var(--main-color-4);
}

.button.type--secondary:hover {
  background-color: var(--main-color-2);
}

.button.type--secondary:hover .icon use,
.button.type--secondary:hover .icon g {
  fill: var(--main-color-7);
}

.button.type--secondary:active {
  background-color: var(--main-color-3);
}

.button.type--secondary.mode--contrast {
  color: var(--dark-main-color-10);
  border-color: var(--dark-main-color-6);
}

.button.type--secondary.mode--contrast .icon use,
.button.type--secondary.mode--contrast .icon g {
  fill: var(--dark-main-color-6);
}

.button.type--secondary.mode--contrast:hover {
  background-color: var(--pale-bg);
}

.button.type--secondary.mode--contrast:hover .icon use,
.button.type--secondary.mode--contrast:hover .icon g {
  fill: var(--dark-main-color-9);
}

.button.type--secondary.mode--contrast:active {
  background-color: var(--dark-main-color-5);
}

.button.type--danger {
  color: var(--negative-color-3);
  border-color: var(--negative-color-2);
}

.button.type--danger .icon use,
.button.type--danger .icon g {
  fill: var(--negative-color-3);
}

.button.type--danger:hover {
  background: var(--negative-color-1);
}

.button.type--danger:active {
  color: var(--primary-bg);
  background: var(--negative-color-3);
}

.button.type--label:hover {
  border-color: var(--main-color-3);
  background-color: var(--main-color-2);
}

.button.type--label:active {
  background-color: var(--main-color-3);
}

.button.type--label:disabled {
  border: none;
}

.button.type--link {
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  box-shadow: none;
  font-weight: inherit;
  font-size: inherit;
  min-width: 0;
  color: var(--action-color);
  border: none;
  background: transparent;
}

.button.type--link:hover {
  color: var(--action-color);
  background: transparent;
  text-decoration: underline;
}

.button.type--link[disabled],
.button.type--link:disabled,
.button.type--link[disabled]:hover,
.button.type--link:disabled:hover,
.button.type--link[disabled]:active,
.button.type--link:disabled:active,
.button.type--link[disabled]:focus,
.button.type--link:disabled:focus {
  border-color: var(--main-color-2);
  cursor: not-allowed;
  color: var(--action-color-1);
  background: transparent;
}

.button.type--link[disabled] .icon use,
.button.type--link:disabled .icon use,
.button.type--link[disabled]:hover .icon use,
.button.type--link:disabled:hover .icon use,
.button.type--link[disabled]:active .icon use,
.button.type--link:disabled:active .icon use,
.button.type--link[disabled]:focus .icon use,
.button.type--link:disabled:focus .icon use,
.button.type--link[disabled] .icon g,
.button.type--link:disabled .icon g,
.button.type--link[disabled]:hover .icon g,
.button.type--link:disabled:hover .icon g,
.button.type--link[disabled]:active .icon g,
.button.type--link:disabled:active .icon g,
.button.type--link[disabled]:focus .icon g,
.button.type--link:disabled:focus .icon g {
  fill: var(--action-color-1);
}

.button.type--badge {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-width: 0;
  border-radius: 50%;
  color: var(--main-color-8);
  border-color: var(--main-color-3);
}

.button.type--badge:hover {
  background-color: var(--main-color-2);
}

.button.type--badge:active {
  background-color: var(--main-color-3);
}

.button.type--badge .icon {
  margin: 0;
}

.button.type--badge.button.type--badge-size-s {
  padding: 6px;
  border-width: 1px;
}

.button.type--open {
  width: auto;
  padding: 0;
  margin: 0;
  box-shadow: none;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--main-color-8);
}

.button.type--open .icon use,
.button.type--open .icon g {
  fill: var(--main-color-4);
}

.button.type--open:hover .icon use,
.button.type--open:hover .icon g {
  fill: var(--main-color-8);
}

.button .icon:not(:last-child) {
  margin-right: 6px;
}

.button.button-size-s {
  min-width: initial;
  padding: 3px 8px;
  margin: 0 2px;
  width: 28px;
  height: 28px;
}

.button-group {
  display: flex;
  align-items: center;
}

.button-group .button {
  margin: 0 0 0 -1px;
  border-radius: 0;
  min-width: auto;
  width: auto;
}

.button-group .button.type--primary:not(:first-child) {
  border-left: 1px solid var(--action-color-3);
}

.button-group .button:first-child {
  margin: 0;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}

.button-group .button:first-child:not(:first-child) {
  border-left-color: inherit;
}

.button-group .button:last-child {
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}

.button-group .button:disabled:not(:first-child),
.button-group .button[disabled]:not(:first-child) {
  border-left-color: transparent;
}

.button-group .button:disabled:not(:last-child),
.button-group .button[disabled]:not(:last-child) {
  border-right-color: transparent;
}

.progress-button {
  position: relative;
}

.progress-button__indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  border-bottom-left-radius: 1px;
  transition: background 0.1s ease-out, background-color 200ms ease-in, width 0.1s ease-out;
}

.progress-button.type--primary .progress-button__indicator {
  background-color: var(--action-color-3);
}

.progress-button.type--secondary .progress-button__indicator {
  background-color: var(--action-color-2);
}

.checkbox {
  position: relative;
  display: flex;
  align-items: end;
  box-sizing: border-box;
  line-height: 16px;
}

.checkbox input[type=checkbox] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  outline: none;
}

.checkbox input[type=checkbox]:not([disabled]) {
  cursor: pointer;
}

.checkbox_mark {
  position: relative;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  margin-right: 8px;
  border: 1px solid var(--main-color-3);
  border-radius: 2px;
  background-color: var(--main-color-1);
  pointer-events: none;
  transition: border-color 0.2s ease-out, background-color 0.2s ease-out;
}

.checkbox_mark::after {
  content: '';
  position: absolute;
  display: none;
  top: 0;
  left: 3px;
  width: 6px;
  height: 10px;
  border: solid var(--primary-bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  box-sizing: border-box;
}

.checkbox_label {
  opacity: .8;
  white-space: initial;
}

.checkbox input[disabled] {
  cursor: not-allowed;
}

.checkbox input[disabled] + .checkbox_mark,
.checkbox input[disabled] ~ .checkbox_label {
  opacity: .5;
  cursor: not-allowed;
}

.checkbox input[type=checkbox]:not([disabled]):checked ~ .checkbox_mark {
  border-color: var(--action-color-2);
  background-color: var(--action-color-2);
}

.checkbox input[type=checkbox]:not([disabled]):checked ~ .checkbox_mark::after {
  display: block;
}

.checkbox input[type=checkbox]:not([disabled]):checked ~ .checkbox_label {
  opacity: 1;
}

.checkbox:hover input[type=checkbox]:not([disabled]):not(:checked) ~ .checkbox_mark {
  background-color: var(--main-color-2);
}

.checkbox:hover input[type=checkbox]:not([disabled]):not(:checked) ~ .checkbox_label {
  opacity: 1;
}

.clipboard-area {
  position: relative;
  display: flex;
  align-items: center;
}

.clipboard-area > .clipboard-text {
  padding-bottom: 24px;
  border: 1px solid var(--border-color);
}

.clipboard-area > .button {
  position: absolute;
  bottom: 8px;
  right: 16px;
}

.clipboard-input {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
}

.clipboard-input .input {
  width: 100%;
  border: none;
  background-color: transparent;
  text-overflow: ellipsis;
  overflow: hidden;
  margin: 0;
  cursor: pointer;
}

.clipboard-input > .clipboard-text {
  border: 1px solid var(--border-color);
  border-right-color: transparent;
}

.clipboard-input > .clipboard-text + .button {
  height: 32px;
  margin: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.clipboard-input_actions {
  display: flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid var(--border-color);
  background: var(--main-color-1);
  border-left-color: transparent;
}

.clipboard-input_action {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.clipboard-input_action .icon use {
  fill: var(--main-color-4);
}

.clipboard-input_action:hover .icon use {
  fill: var(--main-color-5);
}

.clipboard-input_action + .clipboard-input_action {
  margin-left: 8px;
}

.clipboard-area > .clipboard-text,
.clipboard-input > .clipboard-text {
  width: 100%;
  outline: none;
  transition: border-color 0.15s ease-out;
  background: var(--main-color-1);
  cursor: pointer;
}

.clipboard-area > .clipboard-text:hover,
.clipboard-input > .clipboard-text:hover,
.clipboard-area > .clipboard-text:active,
.clipboard-input > .clipboard-text:active {
  background-color: var(--main-color-2);
}

.color-picker {
  display: flex;
  align-items: center;
}

.color-picker_picker {
  display: none;
}

.color-picker .color-picker_value {
  width: 98px;
  vertical-align: middle;
}

.color-picker .avatar {
  margin-left: 12px;
  vertical-align: middle;
}

.dialog {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
}

.dialog,
.dialog.dialog_wrap,
.dialog .dialog_overflow {
  width: 100%;
  height: 100%;
}

.dialog_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0 0 0;
  box-sizing: border-box;
  z-index: 1100;
  transition: opacity 150ms;
  opacity: 0;
}

.dialog_wrap.dialog--full-screen .dialog_wrap_content {
  width: 100%;
}

.dialog_wrap:not(.dialog--full-screen) {
  padding: 80px 0 0 0;
}

.dialog_wrap_title {
  display: flex;
  align-items: center;
  font-size: 16px;
  line-height: 24px;
  font-weight: normal;
  padding: 16px 24px 16px 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dialog_wrap_content {
  display: flex;
  z-index: 2;
}

.dialog_wrap_content,
.dialog_wrap_content_main,
.dialog_wrap_content_sidebar {
  height: 100%;
}

.dialog_wrap_content_main {
  flex: 1 0;
  overflow: auto;
  position: relative;
  background-color: var(--primary-bg);
}

.dialog_wrap_content_sidebar {
  width: 240px;
  background-color: var(--main-color-1);
}

.dialog_wrap_cross {
  position: absolute;
  top: 16px;
  right: 24px;
  cursor: pointer;
}

.dialog_wrap_cross,
.dialog_wrap_cross > .icon {
  width: 16px;
  height: 16px;
}

.dialog_wrap_cross > .icon {
  opacity: .7;
  transition: opacity 0.15s ease-out;
}

.dialog_wrap_cross > .icon > use {
  fill: var(--main-color-8);
}

.dialog_wrap_cross > .icon:hover {
  opacity: 1;
}

.dialog_overflow {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background-color: var(--main-color-alfa-8);
  z-index: 1;
}

.dialog.fade-in {
  transition-timing-function: ease-in;
  opacity: 1;
}

.dialog.fade-out {
  transition-timing-function: ease-out;
  opacity: 0;
}

.drop-zone {
  background-color: var(--main-color-1);
}

.dnd-drop-zone {
  background-color: var(--main-color-1);
}

.dnd-drop-zone_active {
  background-color: var(--main-color-1);
  animation: blink .4s infinite;
}

.dnd-move[draggable],
.dnd-move[draggable] > div,
.dnd-move[draggable] > div:active,
.dnd-move[draggable] > div:hover,
.dnd-move[draggable] > div:focus,
.dnd-move[draggable] > a:hover,
.dnd-move[draggable] > a:active,
.dnd-move[draggable] > a:focus {
  cursor: grabbing;
}

@keyframes blink {
  0% {
    background-color: var(--main-color-1);
  }
  50% {
    background-color: var(--main-color-2);
  }
  100% {
    background-color: var(--main-color-1);
  }
}

.dl-empty-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  border: solid 1px var(--main-color-2);
  flex-direction: column;
  flex: 0 0 324px;
}

.dl-empty-panel_content {
  width: 176px;
  text-align: center;
}

.dl-empty-panel_bg {
  display: inline-block;
  width: 32px;
  height: 32px;
  background-image: url("/assets/images/brackets.svg");
  background-size: contain;
}

.dl-empty-panel_title {
  font-size: 14px;
  margin: 16px 0 8px;
}

.dl-empty-panel_text {
  color: var(--main-color-5);
}

.empty-page {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 0;
  flex-direction: column;
}

.empty-page > p {
  font-size: 17px;
}

.empty-page > p > span {
  font-weight: 600;
  margin-right: 4px;
}

.error-message {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.error-message__text {
  color: var(--negative-color-3);
}

.head-title {
  font-size: 14px;
  line-height: 20px;
}

.icon.dl-size--small {
  width: 12px;
  height: 12px;
}

.icon.dl-size--large {
  width: 22px;
  height: 22px;
}

.icon-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: rotate(90deg);
}

.icon-menu > use {
  transition: fill 200ms ease-in;
  fill: var(--main-color-5);
}

.icon-menu:hover > use {
  fill: var(--main-color-8);
}

.with-icon-wrapper {
  position: relative;
}

.with-icon-wrapper__right {
  position: absolute;
  right: 0px;
  top: 2px;
  padding: 8px;
  cursor: pointer;
}

.with-icon-wrapper_has-right > *:first-child {
  width: 100%;
  padding-right: 28px;
}

.with-icon-wrapper_has-right.with-icon-wrapper_separated > *:first-child::after {
  display: inline-block;
  height: 16px;
  margin-left: 8px;
  border-left: 1px solid var(--main-color-2);
  content: " ";
}

.with-icon-wrapper .icon use,
.with-icon-wrapper .icon g {
  fill: var(--main-color-5);
}

.with-icon-wrapper .icon:hover use,
.with-icon-wrapper .icon:hover g {
  fill: var(--main-color-9);
}

.with-icon-wrapper .icon:disabled,
.with-icon-wrapper .icon[disabled] {
  cursor: not-allowed;
}

.with-icon-wrapper .icon:disabled use,
.with-icon-wrapper .icon[disabled] use,
.with-icon-wrapper .icon:disabled g,
.with-icon-wrapper .icon[disabled] g {
  fill: var(--main-color-3);
}

.label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.label__header {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  color: var(--main-color-8);
  color: var(--main-color-9);
}

a.dl-link {
  color: var(--main-color-9);
  border-bottom: 1px solid transparent;
  cursor: pointer;
  transition: border-bottom-color 200ms ease-in;
}

a.dl-link:hover {
  color: var(--main-color-9);
  border-bottom-color: var(--main-color-9);
}

.list-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.list-wrap span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-wrap_header {
  display: flex;
  align-items: stretch;
  height: 48px;
  font-weight: 600;
  line-height: 16px;
  cursor: default;
  color: var(--main-color-5);
  border-bottom: 2px solid var(--main-color-2);
  transition: border-bottom-color 200ms ease-in;
  z-index: 1;
}

.list-wrap_header_item {
  display: flex;
  align-items: center;
}

.list-wrap_header_item.sortable {
  cursor: pointer;
  transition: color 200ms ease-in;
}

.list-wrap_header_item.sortable:hover,
.list-wrap_header_item.sortable.sorted {
  color: var(--main-color-8);
}

.list-wrap_header_item.sortable:hover svg use,
.list-wrap_header_item.sortable.sorted svg use {
  fill: var(--main-color-8);
}

.list-wrap_header_item.sortable .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  font-size: 12px;
  margin: 0 4px 0 4px;
}

.list-wrap_header_item.sortable.sorted .arrow.asc {
  transform: rotate(0);
}

.list-wrap_header_item.sortable.sorted .arrow.desc {
  transform: rotate(-180deg);
}

.list-wrap_header_item.sortable svg use {
  transition: fill 200ms ease-in;
  fill: var(--main-color-5);
}

.list-wrap_content {
  padding-bottom: 32px;
}

.list-wrap_content_item {
  display: flex;
  align-items: stretch;
  height: 48px;
  border-bottom: 1px solid var(--main-color-2);
  box-sizing: border-box;
  transition: transform 100ms ease-out, box-shadow 100ms ease-out;
}

.list-wrap_content_item:not([disabled]):not(:active):focus,
.list-wrap_content_item:not([disabled]):not(:active):hover {
  transform: translateY(-2px);
  -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}

.list-button {
  min-width: 150px;
  position: relative;
}

.list-button.type--link {
  min-width: 0;
}

.list-button > .button:not(.list-button_main):first-child {
  flex: 1;
}

.list-button > .list-button_main {
  flex: 1;
  justify-content: center;
}

.list-button > .list-button_toggler {
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}

.list-button .button:last-child .icon {
  margin: 0;
}

.list-button .button.type--link:last-child .icon {
  margin-left: 4px;
}

.list-button .button.type--link:last-child .icon use {
  fill: var(--action-color-2);
}

.list-button .button.type--link:last-child:hover .icon use {
  fill: var(--action-color-3);
}

.list-button .button.type--link:last-child:disabled .icon use {
  fill: var(--action-color-1);
}

.toggable-list-menu__opener {
  display: inline-block;
  cursor: pointer;
}

.logo {
  display: inline-block;
  margin-right: 16px;
  vertical-align: middle;
  background-image: url('/logo/RGB/Logo-RGB.svg');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.logo.dl-size--small {
  width: 16px;
  height: 16px;
}

.logo,
.logo.dl-size--medium {
  width: 32px;
  height: 32px;
}

.logo.dl-size--large {
  width: 68px;
  height: 68px;
}

.dl-menu {
  width: 180px;
  display: flex;
  flex-direction: column;
}

.dl-menu .dl-menu-item {
  width: 100%;
  box-sizing: border-box;
  padding: 0 8px 0 0;
  margin: 8px 0 8px 0;
}

.dl-menu .dl-menu-item > a {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 12px;
  color: var(--main-color-5);
  transition: color 200ms ease-in;
  cursor: default;
}

.dl-menu .dl-menu-item_icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.dl-menu .dl-menu-item_icon use {
  transition: fill 200ms ease-in;
  fill: var(--main-color-5);
}

.dl-menu .dl-menu-item > a:hover,
.dl-menu .dl-menu-item > a.active {
  color: var(--main-color-9);
}

.dl-menu .dl-menu-item:hover > a:not(.active) {
  cursor: pointer;
}

.dl-menu .dl-menu-item > a:hover .dl-menu-item_icon use,
.dl-menu .dl-menu-item > a.active .dl-menu-item_icon use {
  fill: var(--main-color-9);
}

.notification-area {
  position: relative;
  display: flex;
  align-items: stretch;
  padding: 8px;
  border-radius: 4px;
  color: var(--main-color-8);
  border: 1px solid transparent;
  border-radius: 2px;
  box-sizing: border-box;
}

.notification-area_icon {
  width: 32px;
}

.notification-area.area-type--info {
  border-color: var(--action-color-3);
  background: var(--action-color-1);
}

.notification-area.area-type--danger {
  border-color: var(--negative-color-2);
  background: var(--negative-color-1);
}

.notification-area.area-type--warning {
  border-color: var(--attention-color-3);
  background: var(--attention-color-1);
}

.notification-area.area-type--warning .notification-area_icon use,
.notification-area.area-type--warning .notification-area_icon g {
  fill: var(--attention-color-3);
}

.popup-tail-wrap {
  z-index: 1099;
}

.popup-tail-wrap_rounded,
.popup-tail-wrap_rounded .popup-tail-wrap__content {
  border-radius: 4px;
}

.popup-tail-wrap__content {
  background: var(--primary-bg);
}

.popup-tail-wrap__tail {
  position: absolute;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  background: var(--primary-bg);
  z-index: -1;
}

.popup-shadowed .popup-tail-wrap__tail {
  -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
}

.popup[data-position="left-top"] .popup-tail-wrap__content {
  border-top-left-radius: 0;
}

.popup[data-position="left-top"] .popup-tail-wrap__tail {
  left: -16px;
  top: 0;
  transform: skew(45deg, 0) translateX(8px);
}

.popup[data-position="left-bottom"] .popup-tail-wrap__content {
  border-bottom-left-radius: 0;
}

.popup[data-position="left-bottom"] .popup-tail-wrap__tail {
  left: -16px;
  bottom: 0;
  transform: skew(-45deg, 0) translateX(8px);
}

.popup[data-position="right-top"] .popup-tail-wrap__content {
  border-top-right-radius: 0;
}

.popup[data-position="right-top"] .popup-tail-wrap__tail {
  right: -16px;
  top: 0;
  transform: skew(-45deg, 0) translateX(-8px);
}

.popup[data-position="right-bottom"] .popup-tail-wrap__content {
  border-bottom-right-radius: 0;
}

.popup[data-position="right-bottom"] .popup-tail-wrap__tail {
  right: -16px;
  bottom: 0;
  transform: skew(45deg, 0) translateX(-8px);
}

.popup[data-position="top-left"] .popup-tail-wrap__content {
  border-top-left-radius: 0;
}

.popup[data-position="top-left"] .popup-tail-wrap__tail {
  top: -16px;
  left: 0;
  transform: skew(0, 45deg) translateY(8px);
}

.popup[data-position="top-right"] .popup-tail-wrap__content {
  border-top-right-radius: 0;
}

.popup[data-position="top-right"] .popup-tail-wrap__tail {
  top: -16px;
  right: 0;
  transform: skew(0, -45deg) translateY(8px);
}

.popup[data-position="bottom-left"] .popup-tail-wrap__content {
  border-bottom-left-radius: 0;
}

.popup[data-position="bottom-left"] .popup-tail-wrap__tail {
  bottom: -16px;
  left: 0;
  transform: skew(0, -45deg) translateY(-8px);
}

.popup[data-position="bottom-right"] .popup-tail-wrap__content {
  border-bottom-right-radius: 0;
}

.popup[data-position="bottom-right"] .popup-tail-wrap__tail {
  bottom: -16px;
  right: 0;
  transform: skew(0, 45deg) translateY(-8px);
}

.progress-wrap {
  position: relative;
  display: flex;
  align-items: center;
  line-height: 24px;
  border-bottom: 2px solid var(--main-color-2);
}

.progress-wrap_indicator {
  height: 2px;
  position: absolute;
  left: 0;
  bottom: -2px;
  background-color: var(--action-color-2);
}

.radio {
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  line-height: 16px;
}

.radio input[type=radio] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  outline: none;
}

.radio input[type=radio]:not([disabled]) {
  cursor: pointer;
}

.radio_mark {
  position: relative;
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  box-sizing: border-box;
  margin-right: 16px;
  border: 1px solid var(--main-color-3);
  border-radius: 7px;
  background-color: var(--main-color-1);
  transition: border-color 0.2s ease-out, background-color 0.2s ease-out, border-width 0.1s ease-out;
}

.radio input[type=radio]:not([disabled]):checked ~ .radio_mark {
  border-color: var(--action-color-2);
  border-width: 5px;
}

.radio input[disabled] ~ .radio_mark {
  opacity: .5;
  cursor: not-allowed;
}

.radio input[disabled] ~ .radio_content {
  opacity: .5;
  cursor: not-allowed;
}

.radio input[disabled] {
  pointer-events: none;
}

.radio:hover input[type=radio]:not([disabled]):not(:checked) ~ .radio_mark {
  background-color: var(--main-color-2);
}

.radio + .radio {
  margin-top: 8px;
}

.search-input {
  display: flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid var(--border-color);
  height: 32px;
  box-sizing: border-box;
  transition: border-color 0.2s ease-in;
}

.search-input_area {
  flex: 1 0;
  margin: 0 8px;
  height: 16px;
}

.search-input_area > input {
  border: transparent;
  outline: none;
  padding: 0;
  width: 100%;
}

.search-input_area > input::placeholder {
  color: var(--main-color-5);
}

.search-input_search,
.search-input_cross {
  width: 16px;
  height: 16px;
}

.search-input .icon {
  cursor: pointer;
}

.search-input .icon use {
  transition: fill 0.2s ease-in;
  fill: var(--main-color-4);
}

.search-input .icon:hover use {
  fill: var(--main-color-8);
}

.search-input.focus {
  border-color: var(--action-color-2);
}

.search-input_noborder,
.search-input_noborder.focus {
  border-color: transparent;
}

.dl-select {
  position: relative;
  height: 32px;
  border-radius: 2px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid var(--main-color-3);
  background-color: var(--primary-bg);
  max-width: 310px;
  padding: 8px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  color: var(--main-color-8);
  font-weight: normal;
  cursor: pointer;
  transition: background-color 200ms ease-in, box-shadow 100ms ease-in;
  /* component styles */
  /* group */
}

.dl-select .dl-select_popup {
  z-index: 1;
}

.dl-select_noborder {
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 8px 16px;
}

.dl-select_title {
  display: flex;
  flex: 1 0;
  max-width: 100%;
  overflow: hidden;
  align-items: center;
}

.dl-select_title-text {
  flex: 1 0;
  line-height: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dl-select_title > .dl-select_button {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  margin-left: 8px;
  transition: transform 200ms ease-in;
}

.dl-select_title > .dl-select_button svg use {
  transition: fill 200ms ease-in;
  fill: var(--main-color-8);
}

.dl-select .dl-select_content {
  display: flex;
  min-width: 210px;
  max-width: 310px;
  overflow-y: auto;
  background-color: var(--primary-bg);
  box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.5);
  padding: 4px 0;
  flex-direction: column;
}

.dl-select .dl-select_content_footer {
  margin: 1px 0 0 0;
  padding: 1px 0 0 0;
  border-top: 1px solid var(--main-color-2);
}

.dl-select .dl-select_content_list {
  display: flex;
  flex-direction: column;
  max-height: 350px;
  overflow-y: auto;
}

.dl-select .dl-select_item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 32px;
  box-sizing: border-box;
  padding: 0 12px 0 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 100ms ease-in, color 100ms ease-in;
  color: var(--main-color-8);
}

.dl-select .dl-select_item svg use {
  transition: fill 100ms ease-in;
  fill: var(--main-color-8);
}

.dl-select .dl-select_item:not([disabled]):not(.disabled):not(.selected):hover {
  background-color: var(--main-color-1);
}

.dl-select .dl-select_item.selected {
  background-color: var(--main-color-3);
  cursor: default;
  font-weight: 600;
}

.dl-select .dl-select_item.disabled,
.dl-select .dl-select_item[disabled] {
  color: var(--main-color-5);
}

.dl-select:not([disabled]):not(.disabled):not(.select--open).opened,
.dl-select:not([disabled]):not(.disabled):not(.select--open):active,
.dl-select:not([disabled]):not(.disabled):not(.select--open):hover {
  background-color: var(--main-color-2);
}

.dl-select:not([disabled]):not(.disabled):not(.select--open).opened .dl-select_title > .dl-select_button svg use,
.dl-select:not([disabled]):not(.disabled):not(.select--open):active .dl-select_title > .dl-select_button svg use,
.dl-select:not([disabled]):not(.disabled):not(.select--open):hover .dl-select_title > .dl-select_button svg use {
  fill: var(--main-color-8);
}

.dl-select:not([disabled]):not(.disabled).opened .dl-select_title > .dl-select_button,
.dl-select:not([disabled]):not(.disabled):active .dl-select_title > .dl-select_button {
  transform: rotate(-180deg);
}

.dl-select.disabled,
.dl-select[disabled] {
  opacity: .5;
  cursor: not-allowed;
}

.dl-select.select--open {
  border: none;
  box-shadow: none;
  padding: 0;
  height: auto;
}

.dl-select.select--open .dl-select_button {
  transition: none;
}

.dl-select.select--open:not([disabled]):not(.disabled).opened .dl-select_title > .dl-select_button,
.dl-select.select--open:not([disabled]):not(.disabled):active .dl-select_title > .dl-select_button,
.dl-select.select--open:not([disabled]):not(.disabled):hover .dl-select_title > .dl-select_button {
  background-color: var(--main-color-2);
}

.dl-select.select--open:not([disabled]):not(.disabled).opened .dl-select_title > .dl-select_button svg use,
.dl-select.select--open:not([disabled]):not(.disabled):active .dl-select_title > .dl-select_button svg use,
.dl-select.select--open:not([disabled]):not(.disabled):hover .dl-select_title > .dl-select_button svg use {
  fill: var(--main-color-8);
}

.dl-select.select--open .dl-select_content .dl-select_item.selected {
  background-color: transparent;
  font-weight: normal;
}

.dl-select_group {
  padding: 1px 0;
}

.dl-select_group:last-child {
  padding-bottom: 0;
}

.dl-select_group:first-child {
  padding-top: 0;
}

.dl-select_group:not(:last-child) {
  border-bottom: 1px solid var(--main-color-2);
}

.dl-select_group_title {
  display: flex;
  align-items: center;
  height: 24px;
  padding: 0 12px;
  color: var(--main-color-5);
  cursor: default;
}

@keyframes dl-select_fade-in {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -8px, 0);
    transform: translate3d(0, -8px, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.dl-select_fade-in {
  -webkit-animation-name: dl-select_fade-in;
  animation-name: dl-select_fade-in;
  -webkit-animation-timing-function: cubic-bezier(0.15, 0.5, 0.2, 1);
  animation-timing-function: cubic-bezier(0.15, 0.5, 0.2, 1);
  -webkit-animation-duration: .25s;
  animation-duration: .25s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.dl-loader_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.dl-loader_wrap .dl-loader {
  border-radius: 50%;
  border-top: solid transparent;
  border-right: solid transparent;
  border-bottom: solid transparent;
  border-left: solid transparent;
  animation: lds-spinner 1.3s infinite linear;
}

.dl-loader_wrap .dl-loader.dl-size--small {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

.dl-loader_wrap .dl-loader.dl-size--medium {
  width: 32px;
  height: 32px;
  border-width: 4px;
}

.dl-loader_wrap .dl-loader.dl-size--large {
  width: 48px;
  height: 48px;
  border-width: 6px;
}

.dl-loader_wrap .dl-loader.type--primary {
  border-left-color: var(--action-color-2);
}

.dl-loader_wrap .dl-loader.type--secondary {
  border-left-color: var(--main-color-3);
}

@keyframes lds-spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: local("JetBrains Mono dev Regular"), local("JetBrainsMonodev-Regular"), local("JetBrains Mono Regular"), local("JetBrainsMono-Regular"), url("/assets/fonts/JetBrainsMono/JetBrainsMono-Regular.woff2") format("woff2"), url("/assets/fonts/JetBrainsMono/JetBrainsMono-Regular.woff") format("woff");
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 400;
  font-display: fallback;
  src: local("JetBrains Mono dev Italic"), local("JetBrainsMonodev-Italic"), local("JetBrains Mono Italic"), local("JetBrainsMono-Italic"), url("/assets/fonts/JetBrainsMono/JetBrainsMono-Italic.woff2") format("woff2"), url("/assets/fonts/JetBrainsMono/JetBrainsMono-Italic.woff") format("woff");
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: fallback;
  src: local("JetBrains Mono dev Medium"), local("JetBrainsMonodev-Medium"), local("JetBrains Mono Medium"), local("JetBrainsMono-Medium"), url("/assets/fonts/JetBrainsMono/JetBrainsMono-Medium.woff2") format("woff2"), url("/assets/fonts/JetBrainsMono/JetBrainsMono-Medium.woff") format("woff");
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 500;
  font-display: fallback;
  src: local("JetBrains Mono dev Medium Italic"), local("JetBrainsMonodev-Medium-Italic"), local("JetBrains Mono Medium Italic"), local("JetBrainsMono-Medium-Italic"), url("/assets/fonts/JetBrainsMono/JetBrainsMono-Medium-Italic.woff2") format("woff2"), url("/assets/fonts/JetBrainsMono/JetBrainsMono-Medium-Italic.woff") format("woff");
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: fallback;
  src: local("JetBrains Mono dev Bold"), local("JetBrainsMonodev-Bold"), local("JetBrains Mono Bold"), local("JetBrainsMono-Bold"), url("/assets/fonts/JetBrainsMono/JetBrainsMono-Bold.woff2") format("woff2"), url("/assets/fonts/JetBrainsMono/JetBrainsMono-Bold.woff") format("woff");
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 700;
  font-display: fallback;
  src: local("JetBrains Mono dev Bold Italic"), local("JetBrainsMonodev-Bold-Italic"), local("JetBrains Mono Bold Italic"), local("JetBrainsMono-Bold-Italic"), url("/assets/fonts/JetBrainsMono/JetBrainsMono-Bold-Italic.woff2") format("woff2"), url("/assets/fonts/JetBrainsMono//JetBrainsMono-Bold-Italic.woff") format("woff");
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 800;
  font-display: fallback;
  src: local("JetBrains Mono dev ExtraBold"), local("JetBrainsMonodev-ExtraBold"), local("JetBrains Mono ExtraBold"), local("JetBrainsMono-ExtraBold"), url("/assets/fonts/JetBrainsMono/JetBrainsMono-ExtraBold.woff2") format("woff2"), url("/assets/fonts/JetBrainsMono/JetBrainsMono-ExtraBold.woff") format("woff");
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 800;
  font-display: fallback;
  src: local("JetBrains Mono dev ExtraBold Italic"), local("JetBrainsMonodev-ExtraBold-Italic"), local("JetBrains Mono ExtraBold Italic"), local("JetBrainsMono-ExtraBold-Italic"), url("/assets/fonts/JetBrainsMono/JetBrainsMono-ExtraBold-Italic.woff2") format("woff2"), url("/assets/fonts/JetBrainsMono/JetBrainsMono-ExtraBold-Italic.woff") format("woff");
}

.text-wrap {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* TODO: strange font-family */
/* TODO: migrate from font variables to mixins */
.position-sticky {
  position: -webkit-sticky;
  position: sticky;
}

.dl-table {
  display: flex;
  flex-direction: column;
}

.dl-table_header,
.dl-table_body,
.dl-table_row {
  width: -moz-fit-content;
  width: fit-content;
}

.dl-table_title {
  display: flex;
  align-items: center;
  padding: 16px 24px;
}

.dl-table_title > div:first-child {
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
  color: var(--main-color-9);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dl-table_content {
  overflow: auto;
  box-sizing: border-box;
}

.dl-table_content:not(.dl-table__resizing) .dl-table_cell--sortable {
  cursor: pointer;
}

.dl-table_header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: var(--primary-bg);
  border-top: 1px solid var(--main-color-3);
  border-bottom: 2px solid var(--main-color-3);
}

.dl-table_header .dl-table_cell {
  color: var(--main-color-8);
  font-weight: 600;
}

.dl-table_header .dl-table_cell,
.dl-table_header .dl-table_cell > div {
  display: flex;
  align-items: center;
}

.dl-table_header .dl-table_cell--desc .dl-table_icon {
  transform: rotate(180deg);
}

.dl-table_header .dl-table_cell--sortable:hover,
.dl-table_header .dl-table_cell--sorted {
  color: var(--main-color-9);
}

.dl-table_header .dl-table_cell--sortable:hover .dl-table_icon use,
.dl-table_header .dl-table_cell--sorted .dl-table_icon use {
  fill: var(--main-color-8);
}

.dl-table_body {
  font-family: monospace;
}

.dl-table_row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--main-color-3);
}

.dl-table_icon {
  margin-left: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
}

.dl-table_icon use {
  fill: var(--main-color-4);
}

.dl-table_cell {
  padding: 8px;
  position: relative;
  box-sizing: border-box;
  min-width: 150px;
  max-width: 0;
  min-height: 31px;
  justify-content: flex-start;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dl-table_cell--right {
  justify-content: flex-end;
  text-align: right;
}

.dl-table_cell .dl-table_cell__editing {
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  line-height: inherit;
}

.dl-table_cell.dl-table_cell--right .dl-table_cell__editing {
  text-align: right;
}

.dl-table_cell--focused:after {
  content: " ";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  box-sizing: border-box;
  border: 2px solid var(--action-color-1);
}

.dl-table_cell:not(:last-child) {
  border-right: 1px solid var(--main-color-3);
}

.dl-table_footer {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  left: 35%;
  width: max-content;
  padding: 16px 0 16px 0;
}

.dl-table__separator {
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background-color: transparent;
  cursor: col-resize;
}

.dl-table__resizing {
  cursor: col-resize;
}

.dl-table--scrolling {
  box-shadow: rgba(0, 0, 0, 0.15) 0 0 12px 8px;
}

.dl-table--added {
  position: relative;
}

.dl-table--added:after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--action-color-1);
  transition: opacity 0.5s;
}

.dl-table--added.fade-out:after {
  opacity: 0;
}

.dl-table--deleted {
  height: auto;
  max-height: 5vw;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  position: relative;
}

.dl-table--deleted.fade-out {
  max-height: 0;
}

.dl-table--deleted:after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--negative-color-1);
  transition: opacity 0.5s;
}

.dl-table--deleted.fade-out:after {
  opacity: 0;
}

.dl-table__arrow {
  width: 16px;
  height: 16px;
  box-shadow: 1px -1px 0 1px var(--main-color-3) inset;
  -webkit-box-shadow: 1px -1px var(--main-color-3) inset;
  border: solid transparent;
  box-sizing: border-box;
  transition: 0.2s;
  cursor: pointer;
}

.dl-table__arrow--left {
  transform: rotate(45deg);
}

.dl-table__arrow--right {
  transform: rotate(225deg);
}

.dl-table__arrow[disabled] {
  opacity: .5;
  cursor: not-allowed;
}

.dl-table__arrow:not([disabled]):hover {
  box-shadow: 1px -1px 0 1px var(--main-color-3) inset;
  -webkit-box-shadow: 2px -2px var(--main-color-3) inset;
}

.dl-table__navigation {
  height: 32px;
  border-radius: 16px;
  background-color: var(--primary-bg);
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  gap: 8px;
  align-items: stretch;
  min-width: 180px;
  -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
}

.dl-table__navigation > div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dl-table__navigation > div:first-child {
  justify-content: flex-end;
}

.dl-table__navigation > div:last-child {
  justify-content: flex-start;
}

.dl-table__navigation__pages {
  width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tabs-wrap .tab {
  min-width: 140px;
}

.tabs-wrap .tab_header {
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-sizing: border-box;
  opacity: .6;
  cursor: pointer;
}

.tabs-wrap .tab_title {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.tabs-wrap .tab_subtitle {
  font-size: 12px;
  margin: 4px 0 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tabs-wrap .tab.selected .tab_header,
.tabs-wrap .tab:hover .tab_header {
  opacity: 1;
}

.tabs-wrap .tab .tab_header[disabled] {
  opacity: .3;
  cursor: not-allowed;
}

.dl-size--small.tabs-wrap .tab {
  min-width: auto;
}

.dl-size--small.tabs-wrap .tab_title {
  font-size: 12px;
  line-height: 16px;
}

.tabs-wrap {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex: 1 0;
}

.tabs-wrap_header {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 0 24px;
  position: relative;
  border-bottom: 1px solid var(--main-color-2);
}

.tabs-wrap_header--centered .tabs-wrap_header {
  justify-content: center;
}

.tabs-wrap_header_layout {
  display: flex;
  align-items: center;
}

.tabs-wrap_header--scrollable .tabs-wrap_header_layout {
  flex-grow: 1;
  overflow: auto;
}

.tabs-wrap_header--scrollable .tabs-wrap_header_layout::-webkit-scrollbar-track {
  background-color: transparent;
}

.tabs-wrap_header--scrollable .tabs-wrap_header_layout::-webkit-scrollbar {
  width: 7px;
  height: 7px;
  background-color: transparent;
}

.tabs-wrap_header--scrollable .tabs-wrap_header_layout::-webkit-scrollbar-thumb {
  background-color: var(--main-color-4);
}

.tabs-wrap_header--scrollable .tabs-wrap_header_layout::-webkit-scrollbar-corner {
  background-color: transparent;
}

.tabs-wrap_header > .tabs-wrap_indicator {
  position: absolute;
  bottom: -3px;
  left: 0;
  min-width: 120px;
  height: 5px;
  background-color: var(--action-color-2);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

.tabs-wrap_content {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.tabs-wrap_content_item {
  display: none;
  width: 100%;
}

.tabs-wrap_content_item.selected {
  display: block;
}

.dl-size--small.tabs-wrap .tabs-wrap_header > .tabs-wrap_indicator {
  min-width: auto;
}

.dl-size--small.tabs-wrap .tabs-wrap_header {
  margin: 0 0 8px;
}

.tags-input {
  padding: 2px 8px 6px 8px;
  box-sizing: border-box;
  border: 1px solid var(--main-color-2);
  font-size: 12px;
  color: var(--main-color-8);
  overflow: auto;
}

.tags-input:hover,
.tags-input:focus,
.tags-input.focus {
  border-color: var(--action-color-2);
}

.tags-input_content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-height: 24px;
}

.tags-input_item {
  height: 20px;
  width: auto;
  box-sizing: border-box;
  padding: 2px 4px;
  margin: 4px 8px 0 0;
  display: flex;
  align-items: center;
  background-color: var(--main-color-1);
  border: 1px solid var(--main-color-1);
  border-radius: 4px;
  cursor: pointer;
}

.tags-input_item_delete {
  margin-left: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .7;
}

.tags-input_item_delete:hover {
  opacity: 1;
}

.tags-input_input {
  margin: 4px 0 0 0;
  max-width: 100%;
  flex: 1 0;
}

.tags-input_input > input {
  border: none;
  width: 100%;
  min-width: 200px;
  padding: 3px 0 2px;
}

.tags-input_input > input:hover,
.tags-input_input > input:focus {
  outline: none;
}

.renamed-text-input {
  position: relative;
}

.renamed-text-input__expander {
  display: inline-block;
  box-sizing: border-box;
  min-width: 16px;
  padding: 7px 0;
  visibility: collapse;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
}

.renamed-text-input input {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  padding: 7px 0;
  border: none;
  outline: none;
  background: transparent;
  color: inherit;
}

.renamed-text-input input,
.renamed-text-input input:focus {
  border-top: 1px solid transparent;
  border-bottom: 1px solid var(--action-color-2);
}

.dl-textarea {
  line-height: 18px;
}

.dl-textarea--fixed {
  resize: none;
}

.tip {
  position: relative;
  display: inline-flex;
}

.tip .icon {
  transition: fill 0.2s ease-in;
}

.tip .icon use,
.tip .icon g {
  fill: var(--main-color-4);
}

.tip .icon:hover use,
.tip .icon:hover g {
  fill: var(--main-color-8);
}

h2.dl-title {
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  color: var(--main-color-9);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
}

h4.dl-title {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--main-color-9);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 8px 0;
}

.dl-toggle {
  display: flex;
  align-items: center;
}

.dl-toggle_button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 8px;
  border: 1px solid var(--main-color-3);
  transition: background-color 200ms ease-in;
  cursor: pointer;
}

.dl-toggle_button > .icon {
  height: 16px;
  width: 16px;
}

.dl-toggle_button > .icon > use {
  transition: fill 200ms ease-in;
  fill: var(--main-color-5);
}

.dl-toggle_button:first-child {
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}

.dl-toggle_button:last-child {
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}

.dl-toggle_button:not(:first-child) {
  border-left-width: 0;
}

.dl-toggle_button.selected,
.dl-toggle_button:hover {
  background-color: var(--main-color-2);
}

.dl-toggle_button.selected svg use,
.dl-toggle_button:hover svg use {
  fill: var(--main-color-8);
}

.toggler.toggler_dark {
  border-color: var(--main-color-3);
}

.toggler.toggler_dark::after {
  background-color: var(--main-color-7);
}

.toggler.toggler_dark.active {
  border-color: var(--positive-color-1);
}

.toggler.toggler_dark.active::after {
  background-color: var(--positive-color-2);
  filter: brightness(120%);
}

.toggler {
  width: 19px;
  height: 10px;
  border-radius: 10px;
  margin: 1px;
  position: relative;
  display: inline-block;
  background-color: var(--main-color-3);
  cursor: pointer;
}

.toggler::after {
  left: -1px;
  top: -1px;
  width: 12px;
  height: 12px;
  border-radius: 12px;
}

.toggler.active::after {
  left: initial;
  transform: translateX(8px);
}

.toggler::after {
  position: absolute;
  display: inline-block;
  content: ' ';
  background-color: var(--main-color-6);
  transition: background-color 0.2s ease-out, transform 0.3s ease-out;
}

.toggler.active {
  background-color: var(--action-color-1);
}

.toggler.active::after {
  background-color: var(--action-color-2);
}

.toggler.dl-size--large {
  width: 31px;
  height: 16px;
  border-radius: 16px;
  margin: 2px;
}

.toggler.dl-size--large::after {
  left: -2px;
  top: -2px;
  width: 20px;
  height: 20px;
  border-radius: 20px;
}

.toggler.dl-size--large.active::after {
  left: initial;
  transform: translateX(13px);
}

.toggler.dl-size--medium {
  width: 23px;
  height: 12px;
  border-radius: 12px;
  margin: 2px;
}

.toggler.dl-size--medium::after {
  left: -2px;
  top: -2px;
  width: 16px;
  height: 16px;
  border-radius: 16px;
}

.toggler.dl-size--medium.active::after {
  left: initial;
  transform: translateX(9px);
}

.dl-tooltip_header {
  display: block;
  margin: 0 0 8px;
  font-weight: bold;
  font-size: 14px;
  line-height: 20px;
  color: var(--main-color-8);
  color: var(--contrast-fg);
}

.dl-tooltip_description {
  color: var(--contrast-fg);
}

.dl-tooltip_popup {
  display: block;
  box-sizing: border-box;
  padding: 16px;
  width: max-content;
  border-radius: 4px;
  pointer-events: none;
  z-index: 1;
  background: var(--contrast-bg);
  color: var(--contrast-fg);
  font-size: 12px;
  line-height: 16px;
  transition: opacity 150ms;
  opacity: 0;
}

.dl-tooltip_popup.fade-in {
  transition-timing-function: ease-in;
  opacity: 1;
}

.dl-tooltip_popup.fade-out {
  transition-timing-function: ease-out;
  opacity: 0;
}

.dl-tooltip ul {
  margin-top: 16px;
}

.dl-tooltip ul li {
  margin-bottom: 8px;
}

.dl-tooltip ul li:last-child {
  margin-bottom: 0;
}

.dl-tooltip ul li:before {
  display: inline-block;
  content: '-';
  padding-right: 4px;
}

.menu {
  overflow: auto;
  min-width: 220px;
  max-width: 440px;
}

.menu-section {
  position: relative;
  padding: 4px 0;
  border-top: 1px solid var(--main-color-2);
  margin-top: -1px;
}

.menu_no-disabled .menu-item.disabled,
.menu_no-disabled .menu-item[disabled] {
  display: none;
}

.menu_no-icons .menu-item_icon {
  display: none;
}

.menu_no-icons .menu-item_icon.icon-check-mark {
  display: block;
}

.menu_inline-icons .menu-item_icon {
  position: initial;
  margin: 0 0 -1px 8px;
}

.menu_footer {
  padding: 0 0 4px 24px;
  font-size: 10px;
  line-height: 20px;
  color: var(--main-color-7);
  border-top: 1px solid var(--main-color-2);
}

.menu.menu-on-top {
  z-index: 1102;
}

.menu-item {
  display: block;
  position: relative;
  border-radius: 0;
  padding: 6px 12px 6px 24px;
  cursor: pointer;
  user-select: none;
}

.menu-item:hover {
  background: var(--main-color-1);
}

.menu-item_content {
  display: flex;
}

.menu-item_content .icon-flyout {
  transform: rotate(-90deg);
}

.menu-item_content .icon-flyout use,
.menu-item_content .icon-flyout g {
  fill: var(--main-color-7);
}

.menu-item_icon {
  position: absolute;
  left: 6px;
  top: 8px;
  color: var(--main-color-8);
}

.menu-item_label {
  flex-grow: 1;
}

.menu-item_label:first-letter {
  text-transform: uppercase;
}

.menu-item_pro .menu-item_label::after {
  content: 'pro';
  display: inline-block;
  margin-left: 8px;
  padding: 3px 4px;
  background: var(--main-color-5);
  border-radius: 2px;
  font-size: 8px;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--contrast-fg);
  vertical-align: text-top;
}

.menu-item_disabled .menu-item_label {
  color: var(--main-color-5);
}

.menu-item_shortcut {
  position: relative;
  right: -4px;
  color: var(--main-color-6);
  margin-left: 10px;
}

.menu-item.disabled,
.menu-item[disabled] {
  color: var(--main-color-5);
  cursor: default;
}

.menu-item_description {
  font-size: 10px;
  color: var(--main-color-4);
  padding-top: 3px;
}

.icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: no-repeat center;
  background-size: contain;
}

.icon-container {
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  overflow: hidden;
}

.icon-container symbol[id^='icon'] path,
.icon-container symbol[id^='icon'] g {
  fill: inherit;
}

.icon-size-xs {
  width: 10px;
  height: 10px;
}

.icon-size-s {
  width: 12px;
  height: 12px;
}

.icon-size-l {
  width: 22px;
  height: 22px;
}

.icon-size-xl {
  width: 36px;
  height: 36px;
}

.icon-arrow-left {
  transform: rotate(180deg);
}

.icon-arrow-down {
  transform: rotate(90deg);
}

.icon-arrow-up {
  transform: rotate(-90deg);
}

.icon-flyout-right {
  transform: rotate(-90deg);
}

.icon-undo {
  transform: rotate(90deg) scale(1, -1);
}

.icon-redo {
  transform: rotate(90deg);
}

.icon use,
.icon g {
  fill: var(--main-color-8);
}

.icon-light use,
.icon-light g {
  fill: var(--contrast-fg);
}

.icon-active use,
.icon-active g {
  fill: var(--action-color-2);
}

.icon-muted {
  opacity: 0.5;
}

.icon-positive use,
.icon-positive g {
  fill: var(--positive-color-2);
}

.icon-negative use,
.icon-negative g {
  fill: var(--negative-color-2);
}

.popup {
  display: inline-block;
  background: var(--primary-bg);
  max-height: 95vh;
  /* close button */
  /* loading view */
}

.popup-size-s {
  width: 566px;
  height: 514px;
}

.popup-size-m {
  width: 626px;
  height: 640px;
}

.popup-size-l {
  width: 826px;
  height: 640px;
}

.popup.popup-with-title {
  padding-top: 0;
}

.popup.popup-with-title .popup_header {
  display: block;
}

.popup.popup-with-title .popup_close use,
.popup.popup-with-title .popup_close g {
  fill: var(--main-color-4);
}

.popup.popup-with-title .popup_content {
  height: calc(100% - 30px);
  box-sizing: border-box;
}

.popup.popup-no-close-btn {
  padding-top: 0;
}

.popup.popup-no-close-btn .popup_close {
  display: none;
}

.popup-no-padding .popup_content {
  padding: 0;
}

.popup_header {
  box-sizing: border-box;
  display: none;
  background-color: var(--pale-bg);
  padding: 7px 32px 7px 12px;
  min-height: 30px;
}

.popup_header .input-search {
  width: 100%;
  margin: 8px 0;
}

.popup_footer {
  background-color: var(--pale-bg);
  padding: 4px;
  color: var(--contrast-fg);
  border-radius: 0 0 2px 2px;
  display: inline-flex;
  flex-direction: row-reverse;
  user-select: none;
  width: 100%;
  box-sizing: border-box;
}

.popup_title {
  display: block;
  font-size: 12px;
  font-weight: normal;
  color: var(--contrast-fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.popup-global {
  position: fixed;
  /*z-index: 3;*/
  /*TODO: revert to 3 when history popup z-index will be fixed*/
  z-index: 1100;
}

.popup-full-screen {
  width: 100%;
  top: 48px;
  bottom: 0;
  display: flex;
  flex-direction: column;
}

.page-editor .popup-full-screen {
  bottom: 24px;
}

.popup-full-screen .popup_header {
  display: none;
  padding: 0;
}

.popup-full-screen .icon.popup_close {
  right: 16px;
  top: 16px;
  z-index: 3;
}

.popup-full-screen .popup_title {
  box-sizing: border-box;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 7px 40px;
}

.popup-full-screen_content {
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 40px;
}

.popup-full-screen_content-wrapper {
  position: relative;
  overflow: auto;
  height: 100%;
}

.popup-full-screen.popup-with-title .icon.popup_close {
  top: 46px;
}

.popup-full-screen.popup-with-title .icon.popup_close use,
.popup-full-screen.popup-with-title .icon.popup_close g {
  fill: var(--main-color-8);
}

.popup-modal {
  padding-top: 30px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
}

.popup-shadowed {
  background: var(--primary-bg);
  -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
}

.popup_content {
  padding: 12px;
  overflow: auto;
}

.popup_shim {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  /*z-index: 2;*/
  /*TODO: revert to 2 when history popup z-index will be fixed*/
  z-index: 1100;
  background: var(--main-color-9);
  opacity: 0.04;
}

.popup_close.icon {
  position: absolute;
  right: 12px;
  top: 8px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.15s ease-out;
  z-index: 1;
}

.popup_close.icon:before {
  font-size: 14px !important;
}

.popup_close:hover {
  opacity: 1;
}

.popup-loading.popup {
  display: flex;
  align-items: center;
  background: transparent;
  color: var(--main-color-6);
  box-shadow: none;
}

.popup-loading .spinner {
  margin-right: 8px;
}

.tooltip.popup {
  padding: 8px;
  width: max-content;
  max-width: 250px;
  border-radius: 4px;
  pointer-events: none;
  z-index: 1;
  background: var(--contrast-bg);
  color: var(--contrast-fg);
  font-size: 12px;
  line-height: 16px;
}

.tooltip.popup_content {
  white-space: nowrap;
}

.tooltip.popup-spaced {
  padding: 4px 8px;
  min-width: 10px;
}

.tooltip.popup-caret {
  font-weight: bold;
  z-index: 1;
}

.alert_container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 1101;
  right: 2px;
  bottom: 26px;
  position: fixed;
}

.alert_container > div {
  transition: opacity 0.2s ease-out;
}

.alert-animated > div {
  transition: transform 0.5s ease-out, opacity 0.2s ease-out;
}

.alert_content {
  display: inline-block;
  max-width: 100%;
}

.alert_message {
  position: relative;
  background: var(--alert-bg);
  color: var(--contrast-fg);
  padding: 24px;
  margin: 6px;
  width: 250px;
  opacity: 0;
}

.alert_message-error {
  background: rgba(var(--negative-color-3-rgb), 0.8);
}

.alert_message-error a {
  color: var(--action-color-1);
}

.alert_message-error a:not([disabled]):hover {
  color: var(--action-color-1);
  text-decoration: underline;
}

.alert_message-flex {
  min-width: 285px;
  width: auto;
}

.alert_close.icon {
  position: absolute;
  right: 6px;
  top: 6px;
}

.alert_progress {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-column-gap: 10px;
  align-items: center;
}

.alert_with_icon {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-column-gap: 8px;
}

.alert_action-message {
  margin: 0 0 8px 0;
}

.alert_action_progress {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-column-gap: 10px;
}

.alert_button-full-size.button {
  width: 100%;
  margin: 10px 0 0;
}

.user-avatar {
  display: inline-block;
  width: 30px;
  height: 30px;
  letter-spacing: 0.08em;
  line-height: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  vertical-align: middle;
  text-transform: uppercase;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 25px;
  cursor: pointer;
  opacity: 0.85;
}

.dnd-icons_container {
  position: absolute;
  z-index: -1;
  left: -9999px;
  bottom: -9999px;
  width: 0px;
  height: 0px;
}

:root {
  --light-main-color-0: #fff;
  --light-main-color-1: #f3f3f3;
  --light-main-color-2: #e5e5e5;
  --light-main-color-3: #c5c5c5;
  --light-main-color-4: #b3b3b3;
  --light-main-color-5: #9e9e9e;
  --light-main-color-6: #848484;
  --light-main-color-7: #616161;
  --light-main-color-8: #474747;
  --light-main-color-9: #171717;
  --light-main-color-10: #000000;
  --dark-main-color-0: #fff;
  --dark-main-color-1: #3c3c3c;
  --dark-main-color-2: #464646;
  --dark-main-color-3: #707070;
  --dark-main-color-4: #777777;
  --dark-main-color-5: #848484;
  --dark-main-color-6: #9e9e9e;
  --dark-main-color-7: #b3b3b3;
  --dark-main-color-8: #b1b1b1;
  --dark-main-color-9: #b2b2b2;
  --dark-main-color-10: #dddddd;
  --action-color-1: #97e1fb;
  --action-color-2: #008dc0;
  --action-color-3: #00688e;
  --main-color-0: var(--light-main-color-0);
  --main-color-1: var(--light-main-color-1);
  --main-color-2: var(--light-main-color-2);
  --main-color-3: var(--light-main-color-3);
  --main-color-4: var(--light-main-color-4);
  --main-color-5: var(--light-main-color-5);
  --main-color-6: var(--light-main-color-6);
  --main-color-7: var(--light-main-color-7);
  --main-color-8: var(--light-main-color-8);
  --main-color-9: var(--light-main-color-9);
  --main-color-10: var(--light-main-color-10);
  --main-color-alfa-2: rgba(229, 229, 229, 0.4);
  --main-color-alfa-8: rgba(71, 71, 71, 0.4);
  --positive-color-1: #b9e1aa;
  --positive-color-2: #369711;
  --positive-color-3: #286f0c;
  --negative-color-1-rgb: 252, 202, 198;
  --negative-color-2-rgb: 245, 61, 44;
  --negative-color-3-rgb: 194, 20, 4;
  --negative-color-1: rgba(var(--negative-color-1-rgb), 1);
  --negative-color-2: rgba(var(--negative-color-2-rgb), 1);
  --negative-color-3: rgba(var(--negative-color-3-rgb), 1);
  --attention-color-1: #fee39d;
  --attention-color-2: #fdba0d;
  --attention-color-3: #e8a800;
  --action-color: var(--action-color-2);
  --border-color: var(--main-color-2);
  --primary-fg: var(--main-color-9);
  --contrast-fg: var(--main-color-0);
  --primary-bg: #ffffff;
  --contrast-bg: var(--main-color-8);
  --pale-bg: var(--main-color-7);
  --alert-bg: rgba(48, 48, 48, 0.95);
  --traceback-link: blue;
  --tabs-container: transparent;
  --input-output-separator: transparent;
  --editor-bg: #f9f9f9;
  --tile-bg: #f9f9f9;
  --cell-bg: transparent;
  --workbook-bg: var(--primary-bg);
}

:root[theme="idea-old"] {
  --tabs-container: var(--main-color-2);
  --input-output-separator: var(--main-color-1);
  --editor-bg: transparent;
  --cell-bg: var(--primary-bg);
  --workbook-bg: var(--main-color-1);
}

:root[theme="dark"] {
  --tabs-container: transparent;
  --input-output-separator: transparent;
  --editor-bg: var(--primary-bg);
  --tile-bg: var(--primary-bg);
  --cell-bg: transparent;
  --workbook-bg: #3b3b3b;
}

:root[theme="dark-old"] {
  --tabs-container: transparent;
  --input-output-separator: var(--main-color-2);
  --editor-bg: transparent;
  --tile-bg: var(--primary-bg);
  --cell-bg: var(--primary-bg);
  --workbook-bg: #3b3b3b;
}

:root[theme="dark"],
:root[theme="dark-old"] {
  --action-color-1: #97e1fb;
  --action-color-2: #008dc0;
  --action-color-3: #00688e;
  --main-color-0: var(--dark-main-color-0);
  --main-color-1: var(--dark-main-color-1);
  --main-color-2: var(--dark-main-color-2);
  --main-color-3: var(--dark-main-color-3);
  --main-color-4: var(--dark-main-color-4);
  --main-color-5: var(--dark-main-color-5);
  --main-color-6: var(--dark-main-color-6);
  --main-color-7: var(--dark-main-color-7);
  --main-color-8: var(--dark-main-color-8);
  --main-color-9: var(--dark-main-color-9);
  --main-color-10: var(--dark-main-color-10);
  --main-color-alfa-2: rgba(229, 229, 229, 0.4);
  --main-color-alfa-8: rgba(71, 71, 71, 0.4);
  --positive-color-1: #b9e1aa;
  --positive-color-2: #369711;
  --positive-color-3: #286f0c;
  --negative-color-1-rgb: 108, 14, 5;
  --negative-color-2-rgb: 220, 33, 16;
  --negative-color-3-rgb: 248, 94, 79;
  --negative-color-1: rgba(var(--negative-color-1-rgb), 1);
  --negative-color-2: rgba(var(--negative-color-2-rgb), 1);
  --negative-color-3: rgba(var(--negative-color-3-rgb), 1);
  --attention-color-1: #4f462d;
  --attention-color-2: #7e692e;
  --attention-color-3: #d9ba63;
  --action-color: var(--action-color-2);
  --border-color: var(--main-color-2);
  --primary-fg: var(--main-color-10);
  --contrast-fg: var(--main-color-0);
  --primary-bg: #303030;
  --contrast-bg: #2a2a2a;
  --pale-bg: var(--main-color-1);
  --alert-bg: #4e4e4e;
  --traceback-link: #85b9cc;
}

div,
ul,
li,
span,
body,
html {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style-type: none;
}

hr {
  -webkit-margin-before: auto;
  -webkit-margin-after: auto;
  -webkit-margin-start: auto;
  -webkit-margin-end: auto;
  border: none;
}

input[type=text] {
  outline: none;
}

button {
  background: transparent;
  color: inherit;
}

input,
textarea,
keygen,
select,
button {
  font: inherit;
}

*::-webkit-scrollbar-track {
  background-color: transparent;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background-color: transparent;
}

*::-webkit-scrollbar-thumb {
  background-color: var(--main-color-4);
}

*::-webkit-scrollbar-corner {
  background-color: transparent;
}

.has-scroll::-webkit-scrollbar-track {
  background-color: transparent;
}

.has-scroll::-webkit-scrollbar {
  width: 7px;
  height: 7px;
  background-color: transparent;
}

.has-scroll::-webkit-scrollbar-thumb {
  background-color: var(--main-color-4);
}

.has-scroll::-webkit-scrollbar-corner {
  background-color: transparent;
}

body {
  font: 12px / 1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 400;
  color: var(--main-color-9);
  background-color: var(--primary-bg);
}

body,
html {
  height: 100%;
  overflow: hidden;
}

:root[sandbox="true"] body,
html:root[sandbox="true"] {
  height: initial;
  overflow: auto;
}

.hidden {
  display: none !important;
}

div[tabindex] {
  outline: none;
}

input,
textarea {
  background: var(--primary-bg);
  color: var(--primary-fg);
}

input.input {
  box-sizing: border-box;
  padding: 7px 8px;
  outline: none;
  border: 1px solid var(--border-color);
  transition: border-color 0.15s ease-out;
  font-size: 12px;
  line-height: 16px;
}

input.input:not([disabled]):not([readonly]):focus {
  border-color: var(--action-color-3);
}

input.input[disabled] {
  background: var(--main-color-1);
}

a {
  color: var(--action-color-2);
  text-decoration: none;
}

a:hover {
  color: var(--action-color-3);
}

a[disabled],
a[disabled]:hover,
a[disabled]:active {
  cursor: not-allowed;
  color: var(--main-color-4);
}

textarea.input {
  box-sizing: border-box;
  padding: 6px 8px;
  outline: none;
  border: 1px solid var(--border-color);
  transition: border-color 0.15s ease-out;
}

textarea.input:focus {
  border-color: var(--action-color-3);
}

textarea.input[disabled] {
  background: var(--main-color-1);
}

input[type=text].input-transparent,
textarea.input-transparent {
  box-sizing: border-box;
  width: 100%;
  background: transparent;
  border: none;
  color: inherit;
  text-overflow: ellipsis;
  outline: none;
  resize: none;
  transition: border-color 0.2s ease-out;
}

input[type=text].input-transparent {
  padding: 4px 0;
}

textarea.input-transparent {
  padding: 0 4px;
}

input.input:invalid,
input.input.error,
textarea:invalid,
textarea.error {
  border-color: var(--negative-color-2);
}

/* Hide arrows for number input */
/* Chrome, Safari, Edge, Opera */
input.input::-webkit-outer-spin-button,
input.input::-webkit-inner-spin-button {
  display: none;
}

/* Firefox */
input.input[type=number] {
  -moz-appearance: textfield;
}

input[type=text].input-transparent:focus,
input[type=password].input-transparent:focus,
textarea.input-transparent:focus {
  text-overflow: initial;
}

input.input-muted {
  background: var(--main-color-8);
  border: none;
  border-radius: 2px;
  color: var(--primary-bg);
  padding-left: 28px;
}

input.input-muted::placeholder {
  color: var(--primary-bg);
}

input.input-search {
  background-repeat: no-repeat;
  background-position-y: center;
  background-position-x: 5px;
}

.hovered {
  transition: opacity 0.15s ease-out;
  opacity: 0.4;
  cursor: pointer;
}

.hovered:hover {
  opacity: 0.9;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: local("JetBrains Mono dev Regular"), local("JetBrainsMonodev-Regular"), local("JetBrains Mono Regular"), local("JetBrainsMono-Regular"), url("assets/fonts/JetBrainsMono/JetBrainsMono-Regular.woff2") format("woff2"), url("assets/fonts/JetBrainsMono/JetBrainsMono-Regular.woff") format("woff");
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 400;
  font-display: fallback;
  src: local("JetBrains Mono dev Italic"), local("JetBrainsMonodev-Italic"), local("JetBrains Mono Italic"), local("JetBrainsMono-Italic"), url("assets/fonts/JetBrainsMono/JetBrainsMono-Italic.woff2") format("woff2"), url("assets/fonts/JetBrainsMono/JetBrainsMono-Italic.woff") format("woff");
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: fallback;
  src: local("JetBrains Mono dev Medium"), local("JetBrainsMonodev-Medium"), local("JetBrains Mono Medium"), local("JetBrainsMono-Medium"), url("assets/fonts/JetBrainsMono/JetBrainsMono-Medium.woff2") format("woff2"), url("assets/fonts/JetBrainsMono/JetBrainsMono-Medium.woff") format("woff");
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 500;
  font-display: fallback;
  src: local("JetBrains Mono dev Medium Italic"), local("JetBrainsMonodev-Medium-Italic"), local("JetBrains Mono Medium Italic"), local("JetBrainsMono-Medium-Italic"), url("assets/fonts/JetBrainsMono/JetBrainsMono-Medium-Italic.woff2") format("woff2"), url("assets/fonts/JetBrainsMono/JetBrainsMono-Medium-Italic.woff") format("woff");
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: fallback;
  src: local("JetBrains Mono dev Bold"), local("JetBrainsMonodev-Bold"), local("JetBrains Mono Bold"), local("JetBrainsMono-Bold"), url("assets/fonts/JetBrainsMono/JetBrainsMono-Bold.woff2") format("woff2"), url("assets/fonts/JetBrainsMono/JetBrainsMono-Bold.woff") format("woff");
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 700;
  font-display: fallback;
  src: local("JetBrains Mono dev Bold Italic"), local("JetBrainsMonodev-Bold-Italic"), local("JetBrains Mono Bold Italic"), local("JetBrainsMono-Bold-Italic"), url("assets/fonts/JetBrainsMono/JetBrainsMono-Bold-Italic.woff2") format("woff2"), url("assets/fonts/JetBrainsMono//JetBrainsMono-Bold-Italic.woff") format("woff");
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 800;
  font-display: fallback;
  src: local("JetBrains Mono dev ExtraBold"), local("JetBrainsMonodev-ExtraBold"), local("JetBrains Mono ExtraBold"), local("JetBrainsMono-ExtraBold"), url("assets/fonts/JetBrainsMono/JetBrainsMono-ExtraBold.woff2") format("woff2"), url("assets/fonts/JetBrainsMono/JetBrainsMono-ExtraBold.woff") format("woff");
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 800;
  font-display: fallback;
  src: local("JetBrains Mono dev ExtraBold Italic"), local("JetBrainsMonodev-ExtraBold-Italic"), local("JetBrains Mono ExtraBold Italic"), local("JetBrainsMono-ExtraBold-Italic"), url("assets/fonts/JetBrainsMono/JetBrainsMono-ExtraBold-Italic.woff2") format("woff2"), url("assets/fonts/JetBrainsMono/JetBrainsMono-ExtraBold-Italic.woff") format("woff");
}

.setting_integer {
  width: 72px;
}

.settings {
  background: var(--primary-bg);
}

.settings_row {
  margin: 12px 0;
}

.settings_bar {
  margin: 32px 0;
  text-align: right;
}

.editor-tab {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 8px 10px;
  background: var(--workbook-bg);
  border-right: 2px solid var(--border-color);
  user-select: none;
  overflow: hidden;
}

.editor-tab_name {
  margin: 0 8px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.editor-tab .icon {
  flex-shrink: 0;
}

.editor-tab.selected {
  background: var(--primary-bg);
}

.editor-tab.selected::after {
  content: ' ';
  display: block;
  height: 3px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--action-color);
}

.editor-tab_dragged {
  position: absolute;
  background: var(--primary-bg);
  z-index: 10;
  pointer-events: none;
}

.editor-tab-content-wrapper {
  height: 100%;
}

.editor-tabs {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--workbook-bg);
  outline: none;
}

.presentation-mode .editor-tabs_tabs-container {
  bottom: 0;
  transform: translateY(calc(100%));
  position: absolute;
  transition: 0.15s ease-out transform;
  left: 0;
  right: 0;
}

.presentation-mode .editor-tabs_tabs-container:hover {
  transform: none;
}

.presentation-mode .editor-tabs_tabs-container::after {
  content: " ";
  display: block;
  position: absolute;
}

.presentation-mode .editor-tabs_tabs-container::after {
  left: 0;
  right: 0;
  height: 20px;
}

.out-bottom.presentation-mode .editor-tabs_tabs-container {
  transform: none;
}

.presentation-mode .editor-tabs_tabs-container::after {
  top: 0;
  margin-top: -20px;
}

.editor-tabs_content-container {
  flex-grow: 1;
  overflow: auto;
}

.editor-tabs_content {
  height: 100%;
  outline: none;
}

.editor-tabs_tabs-container {
  display: flex;
  flex-shrink: 0;
  z-index: 1;
  border-top: 2px solid var(--border-color);
  background: var(--tabs-container);
}

.split-section:first-child .editor-tabs_tabs-container {
  border-left: 2px solid var(--border-color);
}

.editor-tabs_panel {
  flex-grow: 1;
}

.editor-tabs_tabs {
  display: flex;
  flex-shrink: 1;
  overflow: hidden;
  white-space: nowrap;
}

.monaco-editor .monaco-remote-cursor,
.monaco-editor .monaco-remote-cursor-tooltip {
  z-index: inherit;
}

.notebook-viewer {
  height: 100%;
  overflow: auto;
  min-width: 460px;
  margin: 0 auto;
  padding: 34px;
}

.notebook-viewer__block {
  position: relative;
}

.notebook-viewer__block + .notebook-viewer__block {
  margin-top: 12px;
}

.notebook-viewer__block .block_input {
  border: 1px solid var(--main-color-3);
}

.notebook-viewer__counter {
  position: absolute;
  top: 8px;
  left: 0;
  transform: translateX(calc(-100% - 2px));
  font-family: 'JetBrains Mono', Menlo, Consolas, monospace;
  font-size: 11px;
  color: var(--main-color-6);
}

.block {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  font-size: 14px;
}

.block_item:not(:first-child) {
  margin: 0 0 0 0;
}

.block_input {
  border-left: 1px solid var(--main-color-3);
}

.block_input:empty {
  padding: 0;
}

.block_output {
  border-left: 1px solid var(--main-color-3);
  padding: 8px;
}

.block_execute {
  position: absolute;
  box-sizing: border-box;
  width: 100px;
  padding: 0 4px 8px 8px;
  margin-left: -100px;
  user-select: none;
  cursor: default;
  color: var(--main-color-7);
  font-size: 10px;
  text-align: right;
}

.block .block_output-wrap .edge:not(:first-child) {
  width: 4px;
  height: 1px;
  background-color: var(--main-color-3);
  border: none;
}

.block-output {
  border-left: 1px solid var(--main-color-3);
  overflow: hidden;
  padding: 8px 16px;
}

.block-output > div {
  overflow: auto;
}

.block-output img {
  max-width: 100%;
}

.block-output .publishing-text-output {
  margin: 0;
  white-space: pre;
  font-family: 'JetBrains Mono', Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 18px;
  font-feature-settings: "liga" 0, "calt" 0;
}

.block-output table {
  border: none;
  border-spacing: 0;
  border-collapse: collapse;
}

.block-output table td,
.block-output table th {
  border: none;
}

.block-output table td,
.block-output table th,
.block-output table tr {
  padding: 4px;
}

.block-output table tr:nth-child(2n) {
  background-color: var(--main-color-1);
}

.block-output table tbody tr:hover {
  background-color: rgba(33, 150, 243, 0.18);
}

.block-wrap + .block-wrap {
  margin-top: 12px;
}

.block-wrap__content__wrap {
  position: relative;
}

.block-wrap__actions {
  position: absolute;
  bottom: 0;
  left: -99px;
  box-sizing: border-box;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  min-width: 100px;
  height: 100%;
  padding-right: 8px;
  border-right: 1px solid var(--main-color-3);
}

.block-wrap__actions > .button {
  height: auto;
  flex-direction: row-reverse;
}

.block-wrap__actions > .button > .icon {
  margin: 0;
}

.block-wrap__actions > .button > span {
  color: var(--main-color-7);
  margin-right: 8px;
  max-width: 56px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.block-wrap:hover .block-wrap__actions,
.block-wrap.active .block-wrap__actions {
  display: flex;
}

.markdown-output {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 14px;
  line-height: 24px;
  color: var(--main-color-8);
  padding: 16px 16px 16px 16px;
}

.markdown-output h1,
.markdown-output h2,
.markdown-output h3,
.markdown-output h4 {
  line-height: normal;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: var(--main-color-9);
  margin: 0 0 16px 0;
}

.markdown-output blockquote {
  margin: 12px 24px 8px;
  padding: 0 12px;
  border-left: 5px solid var(--main-color-3);
}

.markdown-output p,
.markdown-output ul {
  margin: 0 0 1em;
}

.markdown-output h1:last-child,
.markdown-output h2:last-child,
.markdown-output h3:last-child,
.markdown-output h4:last-child,
.markdown-output p:last-child,
.markdown-output ul:last-child {
  margin: 0;
}

.markdown-output pre ~ p,
.markdown-output pre ~ p:last-child {
  margin: 1em 0 0 0;
}

.markdown-output ul,
.markdown-output ol {
  padding-left: 28px;
}

.markdown-output ul {
  list-style: disc;
}

.markdown-output ol {
  list-style: decimal;
}

.markdown-output code {
  padding: 1px 5px;
  background-color: var(--main-color-1);
  font-family: 'JetBrains Mono', Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 18px;
  font-feature-settings: "liga" 0, "calt" 0;
}

.markdown-output pre {
  background: var(--main-color-1);
  width: 100%;
  overflow-x: auto;
}

.markdown-output img {
  max-width: 100%;
}

.comments {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.comments:not(.comments--full-screen) {
  background-color: #fff1ce;
  width: 500px;
  border-left: 1px solid var(--main-color-3);
}

.comments:not(.comments--full-screen) .comment {
  border-top-color: var(--main-color-0);
}

.comments:not(.comments--full-screen)::after {
  content: " ";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4px;
  height: 1px;
  background-color: var(--main-color-3);
}

.comments.comments--full-screen .comment {
  border-top-color: var(--main-color-3);
}

.comments__form,
.comments .comment {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comments__form .avatar {
  min-width: 24px;
}

.comments__form__input {
  display: flex;
  align-items: baseline;
}

.comments__form__input textarea {
  padding: 6px;
  width: 100%;
  height: 32px;
  min-height: 32px;
  resize: none;
  overflow-y: hidden;
}

.comments__form__actions {
  display: flex;
  align-items: center;
}

.comments__form__actions--key-helper {
  color: var(--main-color-0);
  margin: 0 8px 0;
  font-weight: 400;
}

.comments__form__actions .button + .button {
  margin-left: 8px;
}

.comments__unauth {
  display: flex;
  align-items: center;
  justify-content: center;
}

.comments .comment {
  color: var(--main-color-9);
  border-top: 1px solid;
}

.comments .comment__header {
  display: grid;
  grid-template-columns: 24px auto 1fr 16px;
  gap: 8px;
  align-items: center;
}

.comments .comment__author {
  font-weight: bold;
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.comments .comment__date {
  flex: 1;
  color: var(--main-color-8);
}

.comments .comment__content {
  position: relative;
  box-sizing: border-box;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
  line-height: 16px;
}

.comments .comment__content > p {
  margin: 0;
  padding: 0;
}

.comments .comment__actions {
  display: flex;
  align-items: center;
}

.comments .comment__actions__delete {
  display: flex;
  align-items: center;
  opacity: .5;
  cursor: pointer;
}

.comments .comment__actions__delete > use {
  fill: var(--main-color-6);
}

.comments .comment__actions__delete:hover {
  opacity: 1;
}

.embed-code_header h2 {
  display: flex;
  min-width: 0;
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}

.embed-code_content {
  position: relative;
  padding: 24px 24px 24px 24px;
}

.embed-code_content > div:not(:last-child) {
  margin-bottom: 12px;
}

.embed-code_error {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  height: 160px;
  padding: 8px;
  border: 1px solid var(--main-color-2);
  color: var(--main-color-4);
  white-space: pre;
  text-align: center;
}

body.page-embed .embed {
  display: flex;
  flex-direction: column;
  max-height: 100%;
  min-height: 100%;
}

body.page-embed .embed_content {
  display: flex;
  flex: 1;
  overflow: auto;
}

body.page-embed .embed_footer {
  display: flex;
  gap: 12px;
  align-items: center;
  height: 32px;
  padding: 0 8px;
  margin: 12px 0 0 0;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  background-color: var(--main-color-1);
}

body.page-embed .embed_footer > div:first-child {
  flex: 1 0;
}

body.page-embed .embed_footer a > span {
  font-weight: 600;
}

body.page-embed .embed_footer a:hover {
  color: var(--main-color-9);
}

body.page-embed .embed_logo {
  width: 22px;
  height: 22px;
  background-image: url('/logo/RGB/Logo-RGB.svg');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.print-page {
  -webkit-print-color-adjust: exact;
  color-adjust: exact;
  overflow: visible;
  height: auto;
}

@page {
  size: portrait;
}

.print-page .static-editor {
  page-break-inside: avoid;
}

.print-page .block {
  margin-bottom: 12px;
}

.notebook_content .datalore-sheet:not(:first-child) {
  margin: 20px 0 0 0;
}

.notebook_content .datalore-sheet_title {
  margin: 0 0 16px 0;
  color: var(--main-color-8);
  border-bottom: 1px solid var(--border-color);
  opacity: .7;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--main-color-9);
}

.notebook_content .datalore-block-output {
  padding: 0;
  overflow: hidden;
}

.notebook_content .datalore-block-output > div:not(.block-output-empty):not(.edge) {
  padding: 8px 16px;
  overflow: auto;
}

.notebook_content .datalore-error {
  display: flex;
  flex-direction: column;
}

.notebook {
  width: 802px;
  margin: 0 auto;
  padding: 0 32px;
  flex-grow: 1;
}

.notebook_content {
  display: flex;
  flex-grow: 1;
  padding: 20px 0 0 0;
}

.notebook_content > div {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.notebook_sidebar .badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--main-color-1);
  box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.06);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notebook_sidebar .badge use,
.notebook_sidebar .badge g {
  fill: var(--main-color-6);
}

.notebook_sidebar .badge > a,
.notebook_sidebar .badge > span {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notebook_sidebar .badge:not(:first-child) {
  margin: 16px 0 0 0;
}

.notebook_sidebar .badge:hover {
  background-color: var(--main-color-2);
}

.notebook_sidebar .badge:hover use,
.notebook_sidebar .badge:hover g {
  fill: var(--main-color-7);
}

.notebook_sidebar .badge:active {
  background-color: var(--main-color-3);
}

.notebook_sidebar .badge:active use,
.notebook_sidebar .badge:active g {
  fill: var(--main-color-8);
}

.notebook .block-output:not(.block-output-empty) + .edge,
.notebook .block-output > div:not(.block-output-empty) + .edge {
  width: 4px;
  height: 1px;
  background-color: var(--main-color-3);
  border: none;
}

.publishing-notebook {
  position: relative;
  display: grid;
  grid-template-rows: max-content auto max-content;
  grid-template-areas: "header" "content" "footer";
  gap: 20px;
  min-height: 100%;
}

.publishing-notebook .wrapper-center {
  width: 802px;
  padding: 0 32px;
  margin: 0 auto;
}

.publishing-notebook_header,
.publishing-notebook_footer {
  background-color: var(--main-color-1);
  padding: 24px 0;
}

.publishing-notebook_header {
  border-bottom: 1px solid var(--main-color-2);
  grid-area: header;
}

.publishing-notebook_header_title {
  margin-bottom: 4px;
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
  color: var(--main-color-9);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.publishing-notebook_header_sub {
  color: var(--main-color-4);
  margin-bottom: 12px;
}

.publishing-notebook_header_description {
  white-space: pre-wrap;
  word-wrap: break-word;
}

.publishing-notebook_footer {
  grid-area: footer;
}

.publishing-notebook_footer h3 {
  margin-bottom: 0;
  color: var(--main-color-7);
}

.publishing-notebook_content {
  grid-area: content;
  display: flex;
}

.publishing-notebook_sidebar {
  position: fixed;
  right: 24px;
  bottom: 24px;
}

.notebook-page {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--primary-bg);
}

.notebook-page_main {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: auto;
}

.notebook-page .head .head_content-center {
  overflow: hidden;
  min-width: 120px;
}

.notebook-page .head .publishing-actions {
  display: flex;
}

.notebook-page .head .button.type--open {
  margin: 0 6px;
}

.notebook-page__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ipywidget {
  width: 100%;
  border: none;
}

.dl-password-ch {
  width: 300px;
}

.dl-password-ch_subtitle {
  margin: 20px 0 10px;
}

.dl-password-ch_section:first-child .dl-password-ch_subtitle {
  margin-top: 0;
}

.dl-password-ch .input {
  width: 100%;
}

.zxcvbn {
  width: 100%;
}

.zxcvbn_hidden {
  visibility: hidden;
}

.zxcvbn_theme-dark.zxcvbn_hidden {
  display: none;
}

.zxcvbn-meter {
  -moz-appearance: none;
  appearance: none;
  width: 100%;
}

.zxcvbn-meter::-webkit-meter-bar {
  background: rgba(0, 0, 0, 0.1) none;
}

.zxcvbn-meter[value="1"]::-webkit-meter-optimum-value {
  background: red;
}

.zxcvbn-meter[value="2"]::-webkit-meter-optimum-value {
  background: orange;
}

.zxcvbn-meter[value="3"]::-webkit-meter-optimum-value {
  background: yellow;
}

.zxcvbn-meter[value="4"]::-webkit-meter-optimum-value {
  background: green;
}

.zxcvbn-meter[value="1"]::-moz-meter-bar {
  background: red;
}

.zxcvbn-meter[value="2"]::-moz-meter-bar {
  background: yellow;
}

.zxcvbn-meter[value="3"]::-moz-meter-bar {
  background: orange;
}

.zxcvbn-meter[value="4"]::-moz-meter-bar {
  background: green;
}

span.mjx-chtml[tabindex]:focus,
body :focus span.mjx-chtml[tabindex] {
  display: inline-block;
}

.head {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 10px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  white-space: nowrap;
  height: 48px;
  border-radius: 0;
  margin-bottom: 0;
  background: var(--contrast-bg);
  color: var(--contrast-fg);
  /* logo */
  /* layout */
}

.head .button {
  margin: 0;
}

.head .button + .button {
  margin-left: 8px;
}

.head .logo {
  margin-right: 16px;
  vertical-align: middle;
}

.head .avatar {
  cursor: pointer;
}

.head_content-center {
  padding: 0 5px;
}

.head_content-left {
  display: flex;
  align-items: center;
}

.head_content-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  text-align: right;
}

.head__action {
  display: inline-block;
  padding: 8px;
  cursor: pointer;
}

.head .search-input {
  background-color: var(--pale-bg);
  border-color: var(--pale-bg);
  transition: border-color 0.2s ease-in, width 0.2s ease-in;
  width: 188px;
}

.head .search-input input {
  color: var(--contrast-fg);
  background-color: transparent;
}

.head .search-input:hover {
  border-color: var(--main-color-6);
}

.head .search-input.focus {
  width: 238px;
}

.head .icon {
  vertical-align: sub;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.15s ease-out;
}

.head .icon:hover {
  opacity: 0.9;
}

.static-editor {
  margin: 0;
  padding: 24px 16px;
  overflow: auto;
  background-color: var(--editor-bg);
  font-family: 'JetBrains Mono', Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 18px;
  font-feature-settings: "liga" 0, "calt" 0;
}

.cr-import-dialog {
  display: flex;
  flex-direction: column;
}

.cr-import-dialog_hover {
  background: var(--main-color-1);
}

.cr-import-dialog_wrapper {
  display: flex;
  flex-grow: 1;
}

.cr-import-dialog_content-wrapper {
  box-sizing: border-box;
  flex-grow: 1;
  border: 2px dashed var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.cr-import-dialog_content {
  text-align: center;
}

.cr-import-dialog_text {
  margin-top: 14px;
  font-size: 17px;
}

.cr-import-dialog_subtext {
  font: 10px / 1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.cr-import-dialog_line {
  display: inline-block;
  width: 180px;
  margin: 0 6px;
  border-bottom: 1px solid var(--main-color-3);
  vertical-align: middle;
}

.cr-import-dialog_row-line {
  margin: 20px 0;
  color: var(--main-color-6);
}

.cr-import-dialog .button input {
  display: none;
}

.cr-import-dialog_upload-url-section {
  display: flex;
  width: 100%;
  margin-bottom: 13px;
}

.cr-import-dialog_url-input {
  flex-grow: 1;
}

.cr-import-dialog_upload-button {
  width: auto;
}

.cell-control {
  box-sizing: border-box;
  max-width: 333px;
  padding: 8px 12px 12px 12px;
  background-color: var(--editor-bg);
}

.cell-control-drop-down .dl-select {
  max-width: initial;
}

.cell-control-drop-down .dl-select_popup {
  z-index: 2;
}

.cell-control-header__popup {
  z-index: 3;
}

.cell-control-header__label-row {
  display: flex;
  align-items: center;
}

.cell-control-header__label {
  flex-grow: 1;
  padding: 4px 0;
  font-size: 10px;
  line-height: 20px;
  line-height: 12px;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--main-color-5);
}

.cell-control-header__bar {
  display: none;
  flex-grow: 0;
  flex-shrink: 0;
  line-height: 0;
}

.cell-control-header__bar .icon {
  padding: 4px;
}

.cell-control-header__bar .icon use,
.cell-control-header__bar .icon g {
  fill: var(--main-color-5);
}

.cell-control-header__bar .icon:hover use,
.cell-control-header_opened .cell-control-header__bar .icon.icon-settings use,
.cell-control-header__bar .icon:hover g,
.cell-control-header_opened .cell-control-header__bar .icon.icon-settings g {
  fill: var(--main-color-9);
}

.cell-control-header__variable {
  margin: 4px 0 8px;
  overflow: hidden;
  font-family: 'JetBrains Mono', Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 18px;
  font-feature-settings: "liga" 0, "calt" 0;
}

.cell-control-header__variable span {
  display: inline-block;
  max-width: 100%;
  padding: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: var(--main-color-2);
}

.cell-control-header_opened .cell-control-header__bar,
.cell-control:hover .cell-control-header__bar {
  display: block;
}

.cell-control-input__value {
  width: 100%;
}

.cell-control-slider__content {
  display: flex;
}

.cell-control-slider__slider {
  flex-grow: 1;
  padding: 6px 4px 0;
  margin-right: 12px;
}

.cell-control-slider__slider-line {
  position: relative;
  width: 100%;
  height: 4px;
  transform: translateY(-2px);
  background: var(--main-color-2);
  box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.15);
  border-radius: 2px;
}

.cell-control-slider__footer {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  line-height: 20px;
  line-height: 12px;
  color: var(--main-color-6);
}

.cell-control-slider__value {
  flex-shrink: 0;
  width: 44px;
}

.cell-control-slider__roller {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 12px;
  height: 12px;
  transform: translate3d(-6px, -4px, 0);
  background: var(--main-color-1);
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--main-color-5);
  border-radius: 6px;
}

.cell-control-slider__roller:hover {
  cursor: ew-resize;
}

.cell-control-slider__roller.active {
  background: var(--action-color);
  border-color: var(--action-color);
}

.cell-control-slider__steps {
  position: relative;
  height: 4px;
  margin: 4px 0 2px;
}

.cell-control-slider__step {
  position: absolute;
  display: inline-block;
  width: 3px;
  height: 3px;
  transform: translate(-1.5px, 0);
  border-radius: 3px;
  background-color: var(--main-color-3);
}

.cell-control-slider__step:first-child {
  transform: translate(0, 0);
}

.cell-control-slider__step:last-child {
  transform: translate(-3px, 0);
}

.published-settings .dialog_wrap_title > div {
  max-width: 500px;
  font-weight: 600;
  margin: 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.published-settings .tabs-wrap_content_item {
  padding: 0 16px;
}

.published-settings_row {
  display: flex;
  align-items: center;
  flex: 1 0;
}

.published-settings_row > div:first-child {
  flex: 1 0;
}

.published-settings_row:not(:last-child) {
  margin-bottom: 12px;
}

.published-settings_row--right {
  justify-content: flex-end;
}

.published-settings_info {
  color: var(--main-color-4);
}

.published-settings .tabs-wrap_header_layout {
  padding: 0 16px 0 16px;
}

table {
  font-size: 12px;
  border-collapse: collapse;
  border: 1px solid var(--border-color);
}

th {
  padding: 0.5em 0.25em;
  border: 1px solid var(--border-color);
  background-color: var(--main-color-1);
  font-weight: normal;
}

.dataframe thead th {
  text-align: left !important;
}

td {
  border: 1px solid var(--border-color);
  padding: 0.25em;
  min-width: 32px;
}

table {
  margin-top: 10px;
}

.adviser {
  display: flex;
  flex-flow: column;
  font-size: larger;
  padding-left: 1em;
  padding-right: 1em;
  border-bottom: solid 1px gray;
  gap: 6px;
}

.adviser .products-container {
  display: flex;
  flex-flow: row;
  gap: 60px;
}

.adviser .products-container .product {
  flex: 1;
  display: flex;
  flex-flow: row;
  flex-grow: 0;
}

.product img {
  flex: 0;
  margin-right: 10px;
}

.product p {
  align-content: flex-start;
  margin: 0;
  white-space: nowrap;
}

div.adviser a:after {
  padding-left: 5px;
  padding-right: 5px;
  content: url(./externalLink.svg);
}
